package com.yunhe.java.day10;

import java.util.Scanner;

/**
 * Created by Administrator on 2017/8/3 0003.
 */
public class YiChang2 {
    public static void main(String[] args) throws Exception {
        Scanner sc=new Scanner(System.in);
        String str=sc.next().trim();
        if(str.length()!=18){
            System.out.println(str.length());
            throw new Exception("身份证号码不合法");
        }else{
            System.out.println("身份证号码："+str);
        }
    }
}
